
#include <emscripten.h>
#include <emscripten/html5.h>
#include "app.h"


static App g_app;
int _update(double time, void *userdata)
{
    g_app.Update(time/1000.0);
    return EM_TRUE;;
}
int main()
{ 
    g_app.Init();
    emscripten_request_animation_frame_loop(&_update, 0);
}

